package com.my.concurrency.threadpool.task;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: marshal
 * @date: 2023-07-24 10:19 AM
 */
@Slf4j
public class MyTask implements Runnable{

    private Integer id;

    public MyTask(Integer id) {
        this.id = id;
    }

    @Override
    public void run() {
        log.debug(Thread.currentThread().getName() +  ": This is delay task {}", this.id);
    }
}
